package com.google.code.nexttraffic.dao;

import java.util.List;

import com.google.code.nexttraffic.web.model.Timetable;

public interface TimetableDao {

	/**
	 * 
	 * @param timetable
	 * @return
	 */
	public int insertTimetable(Timetable timetable);
	
	/**
	 * 
	 * @param timetableid
	 * @return
	 */
	public int modifyTimetable(Timetable timetable);
	
	/**
	 * 
	 * @param timetableid
	 * @return
	 */
	public int deleteTimetable(int timetableid);

	/**
	 * 
	 * @param timetableIdNum
	 * @return
	 */
	public Timetable getTimetable(Integer timetableIdNum);

	/**
	 * AutoIncrement 값 가지고 오기
	 * 
	 * @return
	 */
	public int getLastNumIncrement();

	/**
	 * 
	 * @return
	 */
	public List<Timetable> getListTimetable();
	
	/**
	 * 
	 * @param terminalid
	 * @return
	 */
	public List<Timetable> getListTimetable(int terminalid);

}
